package com.sh.data.engine.domain.dataquality.model.domain;

import com.sh.data.engine.domain.base.model.BaseDomain;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.Date;

/**
 * @author tinglan.ys
 * @description:
 * @date 2022/2/17 下午6:04
 */
@Data
@SuperBuilder
@NoArgsConstructor
public class DataQualityJobDomain extends BaseDomain {

    //    @ApiModelProperty(value = "表id")
    private Long tblId;

    //    @ApiModelProperty(value = "空间id")
    private Long projectId;

    //    @ApiModelProperty(value = "表名")
    private String tblName;

    //    @ApiModelProperty(value = "表描述")
    private String tblComment;

    //    @ApiModelProperty(value = "任务频率 0-月 1-周 2-天 3-小时 4-分钟 5-试跑")
    private Integer taskCycle;

    //    @ApiModelProperty(value = "任务修改时间")
    private Date taskUpdateTime;

    //    @ApiModelProperty(value = "任务状态，0-运行中 1-正常 2-异常 3-sql语句出错")
    private Integer status;

    //    @ApiModelProperty(value = "规则数")
    private Integer ruleNum;

    //    @ApiModelProperty(value = "问题数")
    private Integer errorNum;

    //    @ApiModelProperty(value = "是否是最新 1-是")
    private Integer isLast;

    //    @ApiModelProperty(value = "是否有分区 0-没有 1-有")
    private Integer hasPartition;
}
